
import request from '@/src/tools/request.js'

//查询积分头像框
export function selectGoods(data) {
  return request({
    url: '/mp/mall/selectGoods',
    method: 'get',
    params: data
  })
}
//兑换
export function buyGoods(data) {
  return request({
    url: '/mp/mall/buyGoods',
    method: 'post',
    data: data
  })
}
//已兑换
export function selectMyFeature(data) {
  return request({
    url: '/mp/user/selectMyFeature',
    method: 'get',
    params: data
  })
}
//设置头像
export function updateFeature(data) {
  return request({
    url: '//mp/user/updateFeature',
   method: 'post',
   data: data
  })
}




